org.eclipse.vtp.framework.engine.runtime
Class Configuration
java.lang.Object
org.eclipse.vtp.framework.engine.runtime.Component
org.eclipse.vtp.framework.engine.runtime.Configuration
public class Configuration
- extends Component
Represents a configuration on a service, action, or observer.
- Author:
- Lonnie Pryor
|
Method Summary |
java.lang.Object |
createInstance(IContext serviceRegistry)
Creates a new instance of the configuration component. |
java.util.Set |
getIdentifiers()
Returns the identifiers of this configuration. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Configuration
public Configuration(Blueprint blueprint,
ConfigurationDescriptor descriptor,
org.w3c.dom.Element data)
throws java.lang.NullPointerException
- Creates a new Configuration.
- Parameters:
blueprint - The blueprint of the process.descriptor - The descriptor of this configuration.data - The data this configuration is bound to.
- Throws:
java.lang.NullPointerException - If the supplied blueprint is null.
java.lang.NullPointerException - If the supplied descriptor is
null.
java.lang.NullPointerException - If the supplied data is null.
getIdentifiers
public java.util.Set getIdentifiers()
- Returns the identifiers of this configuration.
- Returns:
- The identifiers of this configuration.
createInstance
public java.lang.Object createInstance(IContext serviceRegistry)
throws java.lang.NullPointerException
- Creates a new instance of the configuration component.
- Parameters:
serviceRegistry - The inherited service registry to use.
- Returns:
- A new instance of the configuration component.
- Throws:
java.lang.NullPointerException - If the supplied service registry is
null.